home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 101 / CD-ROM 101.iso / compl / maya5ple / Install_MayaPLE5_English.exe / Maya / Data1.cab / AEshaderGlowTemplate.mel < prev    next >
Encoding:
Text File  |  2003-07-17  |  3.1 KB  |  90 lines

  1. // Copyright (C) 1997-2002 Alias|Wavefront,
  2. // a division of Silicon Graphics Limited.
  3. //
  4. // The information in this file is provided for the exclusive use of the
  5. // licensees of Alias|Wavefront.  Such users have the right to use, modify,
  6. // and incorporate this code into other products for purposes authorized
  7. // by the Alias|Wavefront license agreement, without fee.
  8. //
  9. // ALIAS|WAVEFRONT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
  10. // INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
  11. // EVENT SHALL ALIAS|WAVEFRONT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  12. // CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
  13. // DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  14. // TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  15. // PERFORMANCE OF THIS SOFTWARE.
  16. //
  17. //
  18. //  Alias|Wavefront Script File
  19. //
  20. //  Creation Date:    May 21, 1997
  21. //  Author:        sw
  22. //
  23. //  Procedure Name:
  24. //    AEshaderGlowTemplate 
  25. //
  26. //  Description Name;
  27. //    Creates the attribute editor controls for the shaderGlow  Node
  28. //
  29. //  Input Value:
  30. //    nodeName 
  31. //
  32. //  Output Value:
  33. //    None
  34. // 
  35.  
  36.  
  37. //
  38. //  Procedure Name:
  39. //    AEshaderGlowTemplate 
  40. //
  41.  
  42. global proc AEshaderGlowTemplate ( string $nodeName )
  43. {
  44.     AEswatchDisplay $nodeName;
  45.     editorTemplate -beginScrollLayout;
  46.         editorTemplate -beginLayout "Common Shader Glow Attributes" -collapse 0;
  47.             editorTemplate -addControl "glowType";
  48.             editorTemplate -addControl "haloType";
  49.             editorTemplate -addControl "quality";
  50.             editorTemplate -addControl "threshold";
  51.             editorTemplate -addControl "radialFrequency";
  52.             editorTemplate -addControl "starPoints";
  53.             editorTemplate -addControl "rotation";
  54.             editorTemplate -addControl "autoExposure";
  55.         editorTemplate -endLayout;
  56.  
  57.         editorTemplate -beginLayout "Glow Attributes";
  58.             editorTemplate -addControl "glowColor";
  59.             editorTemplate -addControl "glowIntensity";
  60.             editorTemplate -addControl "glowSpread";
  61.             editorTemplate -addControl "glowEccentricity";
  62.             editorTemplate -addControl "glowRadialNoise";
  63.             editorTemplate -addControl "glowStarLevel";
  64.             editorTemplate -addControl "glowOpacity";            
  65.             editorTemplate -addControl "glowRingIntensity";            
  66.             editorTemplate -addControl "glowRingFrequency";            
  67.             editorTemplate -addControl "glowFilterWidth";            
  68.         editorTemplate -endLayout;
  69.  
  70.         editorTemplate -beginLayout "Halo Attributes";
  71.             editorTemplate -addControl "haloColor";
  72.             editorTemplate -addControl "haloIntensity";
  73.             editorTemplate -addControl "haloSpread";
  74.                     editorTemplate -addControl "haloEccentricity";
  75.                     editorTemplate -addControl "haloRadialNoise";
  76.                     editorTemplate -addControl "haloStarLevel";
  77.                     editorTemplate -addControl "haloOpacity";
  78.                     editorTemplate -addControl "haloRingIntensity";         
  79.                     editorTemplate -addControl "haloRingFrequency";
  80.                     editorTemplate -addControl "haloFilterWidth";  
  81.         editorTemplate -endLayout;
  82.  
  83.         
  84.         // include/call base class/node attributes
  85.         AEdependNodeTemplate $nodeName;
  86.  
  87.     editorTemplate -addExtraControls;
  88.     editorTemplate -endScrollLayout;
  89. }
  90.